package frontend.components.form;

import org.apache.wicket.ajax.AjaxRequestTarget;

import java.io.Serializable;

public interface ButtonsBehavior extends Serializable {

    public void onSave(AjaxRequestTarget target);

    public void onDelete(AjaxRequestTarget target);

    public void onError(AjaxRequestTarget target);

    public boolean isDeleteButtonVisible();

    public boolean isSaveButtonVisible();
}
